#pragma once
#define ASSERT(x) if(!(x)) __debugbreak(); 
#define GLCall(x) GLClearError();\
	x;\
	ASSERT(GLLogCall(#x, __FILE__, __LINE__));
void GLClearError();
bool GLLogCall(const char* function, const char* file, int line);

#include "VertexArray.h"
#include "IndexBuffer.h"
#include "Shader.h"

class Render
{
public:
	void Clear();
	void Draw(VertexArray& vao, IndexBuffer& vbo, Shader& shader);

};